public class StartTaskCommand implements Command {
    private AgriculturalMachine machine;
    
    public StartTaskCommand(AgriculturalMachine machine) {
        this.machine = machine;
    }
    
    @Override
    public void execute() {
        System.out.println("任务开始执行...");
        machine.operate();
    }
}